package com.wuze.cloud.dao;

import com.wuze.cloud.pojo.SysStorageDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: wuze
 * @description:
 * @date: 2023/02/28
 */
@Repository
public interface SysStorageDao {

    SysStorageDO findByUserId(@Param("userId") Long userId);

    List<SysStorageDO> selectTop(@Param("top") Integer top);


    void update(@Param("storage")SysStorageDO storage);


    void add(@Param("storage") SysStorageDO storage);
}
